home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 8
/
The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO
/
pcboard
/
upgrade2.zip
/
UPGRADE.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1996-11-26
|
2KB
|
143 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.3O (Encryption type II) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
Integer INTEGER005
Integer INTEGER006
Integer INTEGER007
Integer INTEGER008
Integer INTEGER009
Integer INTEGER010
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
;------------------------------------------------------------------------------
If (Exist(PPEPath() + "upgrade.CFG")) Then
STRING001 = ReadLine(PCBDat(), 31) + ".@@@"
If (Exist(STRING001)) Goto LABEL001
PrintLn STRING001 + " does not exist. Bad path in PCBOARD.DAT"
End
:LABEL001
STRING002 = ReadLine(PCBDat(), 31) + ".ADD"
If (Exist(STRING002)) Goto LABEL002
PrintLn STRING002 + " does not exist. Bad path in PCBOARD.DAT"
End
:LABEL002
Else
PrintLn PPEPath() + "upgrade.CFG does not exist! Exiting."
End
Endif
INTEGER002 = S2I(ReadLine(PPEPath() + "upgrade.CFG", 1), 10)
STRING003 = ReadLine(PPEPath() + "upgrade.CFG", 2)
STRING004 = ReadLine(PPEPath() + "upgrade.CFG", 3)
STRING005 = ReadLine(PPEPath() + "upgrade.CFG", 4)
INTEGER003 = ReadLine(PPEPath() + "upgrade.CFG", 5)
INTEGER004 = ReadLine(PPEPath() + "upgrade.CFG", 6)
INTEGER005 = ReadLine(PPEPath() + "upgrade.CFG", 7)
INTEGER006 = ReadLine(PPEPath() + "upgrade.CFG", 8)
INTEGER007 = ReadLine(PPEPath() + "upgrade.CFG", 9)
INTEGER008 = ReadLine(PPEPath() + "upgrade.CFG", 10)
INTEGER009 = ReadLine(PPEPath() + "upgrade.CFG", 11)
GetUser
INTEGER010 = U_Sec
If (U_Sec >= INTEGER003) Goto LABEL005
If (U_Logons() < INTEGER004) Goto LABEL005
If (U_Logons() == INTEGER004) U_Sec = INTEGER005
If (U_Logons() < INTEGER006) Goto LABEL003
If (U_Logons() > INTEGER006) Goto LABEL004
:LABEL003
If (U_Logons() == INTEGER004) Goto LABEL005
If (U_Logons() < INTEGER006) U_Sec = INTEGER005
If (U_Logons() == INTEGER006) U_Sec = INTEGER007
If (U_Logons() > INTEGER006) Goto LABEL004
:LABEL004
If (U_Logons() == INTEGER006) Goto LABEL005
If (U_Logons() < INTEGER006) Goto LABEL005
If (U_Logons() < INTEGER008) U_Sec = INTEGER007
If (U_Logons() >= INTEGER008) U_Sec = INTEGER009
:LABEL005
PutUser
If (U_Sec > INTEGER010) DispFile PPEPath() + PPEName() , 2 + 1 + 4
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 3 End
; 13 Goto
; 19 Let
; 3 PrintLn
; 17 If
; 1 DispFile
; 1 GetUser
; 1 PutUser
;
;
; ■ Functions used :
;
; 20 +
; 4 ==
; 5 <
; 3 >
; 2 >=
; 3 !
; 12 U_Logons()
; 2 PCBDat()
; 14 PPEPath()
; 13 ReadLine()
; 3 Exist()
; 1 S2I()
; 1 PPEName()
;
;------------------------------------------------------------------------------
;
; Analysis flags : Wd
;
; W - Write user ■ 5
; Program writes a user record. Although this may be normal for a
; User Editor, it may also be a way to modify an account level.
; ■ Search for : PUTUSER
;
; d - Access PCBOARD.DAT ■ 2
; Program gets the full pathname to PCBOARD.DAT, this may be usefull
; for many PPE so they can find various informations on the system
; (system paths, max number of lines in messages, ...) but it may also
; be a way to gather vital informations.
; ■ Search for : PCBDAT()
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 1 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------